package com.daedalus.klasaObjekte.Makina;

/**
 * Created with IntelliJ IDEA.
 * User: User
 * Date: 11/12/12
 * Time: 11:03 AM
 * To change this template use File | Settings | File Templates.
 */
public class Main {
    public static void main(String[] args){
        Makina makina1 = new Makina("Honda",1998,2000);
        Makina makina2 = new Makina("Renault",2005,9000);

        System.out.printf("\nModeli %s\nViti:%s\nCmimi:%s\n",makina1.getModeli(),makina1.getVitiProdhimit(),makina1.getCmimi());
        System.out.printf("\nModeli %s\nViti:%s\nCmimi:%s\n\n",makina2.getModeli(),makina2.getVitiProdhimit(),makina2.getCmimi());
        makina1.krahaso(makina2);
    }
}
